package cn.huat.mapper;

import cn.huat.pojo.Borrowing;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface BorrowingMapper {
    int deleteByPrimaryKey(String borrowingno);

    int insert(Borrowing record);

    int insertSelective(Borrowing record);

    Borrowing selectByPrimaryKey(String borrowingno);

    int updateByPrimaryKeySelective(Borrowing record);

    int updateByPrimaryKey(Borrowing record);
}